package cn.backpackerxl.service;

import cn.backpackerxl.entity.Student;
import cn.backpackerxl.pojo.PageStudent;

import java.util.List;

/**
 * @author: backpackerxl
 * @create: 2021/12/8
 * @filename: StudentService
 **/
public interface StudentService {
    PageStudent findAll(int currentPage, int pageSize);

    int addStudent(Student student);

    PageStudent findByName(String name, int currentPage, int pageSize);

    int updateStudent(Student student);

    int deleteStudent(int id);

    Student findById(int id);

    List<Student> downloadStudentInfo();
}
